TARGET = syscall-helloworld
SRC = $(TARGET).asm

all: $(TARGET)

$(TARGET): $(SRC)
	nasm -f win64  $@.asm -o $@.o
	ld $@.o -o $@

run: $(TARGET)
	./$(TARGET)

clean:
	rm -f *.o $(TARGET)